home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _24D32DEE7C6B4B34966552DB55853C0C < prev    next >
Encoding:
Text File  |  2004-03-12  |  989 b   |  46 lines

  1. light("spot_spotmap")
  2. {
  3.     pass()
  4.     {
  5.         Pixelshader("SpotTerrainCrag14VS.psh")
  6.         VertexShader("SpotTerrainCrag14VS.vsh")
  7.  
  8.         tmu()
  9.         {
  10.             texgen("spotlight")
  11.             texture()
  12.             {
  13.                 spotmap()
  14.                 addressfunc("clamp", "clamp", "clamp")
  15.                 filtering("linear_no_mip")  //FIXIT
  16.             }
  17.         }
  18.  
  19.         tmu()
  20.         {
  21.             texgen("spotlight_z_att")
  22.             texture()
  23.             {
  24.                 image("spot_z.png")
  25.                 addressfunc("clamp", "clamp", "clamp")
  26.                 filtering("linear_no_mip")
  27.             }
  28.         }
  29.  
  30.         !include("__TerrainColormap.mtt")
  31.  
  32.         !include("__TerrainDetail1.mtt")
  33.  
  34.         !include("__DetailsMask.mtt")
  35.  
  36.         tfactor(1,1,1,0)
  37.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  38.  
  39.         blendfunc("one", "one")
  40.         depthfunc("lequal", 0)
  41.  
  42.         blackfog()
  43.     }
  44. }
  45.  
  46.